<template>
  <div></div>
</template>

<script>
import $http from '../../utils/http.js'
export default {
  async mounted () {
    let result = await $http.get('/api/get/login/address')
    if (result) {
      let { status, data, msg } = result
      if (status === 'success') {
        setTimeout(() => {
          window.location.href = data
        }, 200)
      } else if (status === 'fail') {
        this.$notify({ title: msg, type: 'warning' })
      }
    }
  }
}
</script>

<style>
</style>
